package com.quanquan.user.repository;

import com.quanquan.user.entity.SignInRule;
import com.quanquan.user.entity.TaskRecord;
import org.springframework.data.jpa.repository.JpaRepository;

public interface TaskRecordRepository extends JpaRepository<TaskRecord, String> {

    /**
     * 根据用户id查询任务记录
     * @param userId
     * @return
     */
    TaskRecord findByUserId(String userId);
}
